Resource URL: /platform/<<version=1>>/quota/settings/mappings/<ID>

    Overview: This resource applies the standard collection item pattern to
              individual quotas email mapping rules.  ID in the resource path
              is formed from the provider type and the domain, formatted as
              <provider_type>:<domain_string>, where <provider_type> = "ad" |
              "local" | "nis" | "ldap".

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: Retrieve the mapping information.

       URL: GET /platform/<<version=1>>/quota/settings/mappings/<ID>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "mappings": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "properties": {
              "domain": {
                "required": true, 
                "type": "string", 
                "description": "The FQDN of the source domain to map."
              }, 
              "type": {
                "enum": [
                  "ad", 
                  "local", 
                  "nis", 
                  "ldap"
                ], 
                "type": "string", 
                "description": "The authentication provider type.", 
                "required": true
              }, 
              "mapping": {
                "required": true, 
                "type": "string", 
                "description": "The FQDN of destination domain to map to."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify the mapping.

       URL: PUT /platform/<<version=1>>/quota/settings/mappings/<ID>

There are no query arguments for this method.

Required PUT request body fields:
mapping

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "mapping": {
      "required": true, 
      "type": "string", 
      "description": "The FQDN of destination domain to map to."
    }
  }
}

There is no JSON response body for this method.

********************************************************************************

Method DELETE: Delete the mapping.

          URL: DELETE /platform/<<version=1>>/quota/settings/mappings/<ID>

There are no query arguments for this method.

There is no JSON response body for this method.
